package com.wing.wcabinet.model.request;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.wing.wcabinet.model.entity.WcabCheckedInventoryInoutDetail;
import java.time.LocalDateTime;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;

/**
 * 暂存柜存刀/取刀;存/取维修/回收刀盘验明细Form
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class WcabCheckedInventoryInoutDetailForm {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * 暂存柜存刀id
     */
    private Long inoutId;

    /**
     * 柜子id
     */
    private Long cabId;

    /**
     * sku id
     */
    private Long skuId;

    /**
     * 数量
     */
    private Integer quantity;

    /**
     * 重量
     */
    private BigDecimal weight;

    /**
     * 货道id
     */
    private Long spaceId;

    /**
     * 操作类型
     */
    private WcabCheckedInventoryInoutDetail.OperationType operationType;

    /**
     * 业务类型
     */
    private WcabCheckedInventoryInoutDetail.BusinessType businessType;

    /**
     * 柜子编号
     */
    private String cabCode;

    /**
     * sku 编号
     */
    private String skuCode;

    /**
     * 货道编号
     */
    private String spaceCode;

    /**
     * 当前库存
     */
    private Integer quantityCurrent;

    /**
     * 变动后库存
     */
    private Integer quantityAfter;

    /**
     * operationTypeChecked
     */
    private Integer operationTypeChecked;

    /**
     * businessTypeChecked
     */
    private Integer businessTypeChecked;

    /**
     * quantityCurrentChecked
     */
    private Integer quantityCurrentChecked;

    /**
     * quantityAfterChecked
     */
    private Integer quantityAfterChecked;

    /**
     * enterpriseId
     */
    private Long enterpriseId;

    /**
     * enterpriseCode
     */
    private String enterpriseCode;


    public interface Add{}

    public interface Update{}

    private BigDecimal weightCurrent;

    private BigDecimal weightAfter;
}
